package com.cloud.manager.web.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @TableName tb_app
 */
@TableName(value = "tb_app")
public class App implements Serializable {
    /**
     *
     */
    @TableId(value = "appId", type = IdType.AUTO)
    private Long appId;

    /**
     *
     */
    @TableField(value = "packageName")
    private String packageName;

    /**
     *
     */
    @TableField(value = "appName")
    private String appName;

    /**
     *
     */
    @TableField(value = "versionCode")
    private Integer versionCode;

    /**
     *
     */
    @TableField(value = "versionName")
    private String versionName;

    /**
     *
     */
    @TableField(value = "platform")
    private String platform;

    /**
     *
     */
    @TableField(value = "state")
    private Boolean state;

    /**
     *
     */
    @TableField(value = "downloadUrl")
    private String downloadUrl;

    /**
     *
     */
    @TableField(value = "createTime", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     *
     */
    @TableField(value = "updateTime", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public Long getAppId() {
        return appId;
    }

    public void setAppId(Long appId) {
        this.appId = appId;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public Integer getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(Integer versionCode) {
        this.versionCode = versionCode;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
}
